package request;

/**
 * A NewProjectRequest is the request used to create a new project for the user to put on the database.
 * @author Sean Freitag
 * @author Jacob Freemyer
 * @author Stephan Jossie
 *
 */
@SuppressWarnings("serial")
public class NewProjectRequest implements Request {
	/**
	 * Name of the project
	 */
	private String projectName;
	
	/**
	 * Absolute path of project in relation to other projects
	 * Used to create a directory structure
	 */
	private String path;
	
	/**
	 * Creates a NewProjectRequest instance that is used to put a new project in the database.
	 */
	public NewProjectRequest() {
		
	}

	/**
	 * Getter for project name.
	 * @return
	 * 		Project name being requested.
	 */
	public String getName() {
		return projectName;
	}
	
	/**
	 * Getter for path of project.
	 * @return
	 * 		The path of the project requesting.
	 */
	public String getPath()
	{
		return path;
	}
	
	/**
	 * Setter to set the name of the new project
	 * @param pProjectName
	 * New project name
	 */
	public void setProjectName(String pProjectName)
	{
		projectName = pProjectName;
	}
	
	/**
	 * Setter to set the path of the new project
	 * @param pPath
	 * new project path
	 */
	public void setPath(String pPath)
	{
		path = pPath;
	}
}
